<?php
declare (strict_types = 1);

namespace app\adminapi\model\system;

use adminmatrix\admin\model\BaseModel;
use think\Model;
use think\model\relation\HasMany;

/**
 * @mixin \think\Model
 */
class AdminSystem extends BaseModel
{
    #------------------------------------------------------------
    #
    #   关联模型
    #
    #------------------------------------------------------------

    public function config() : HasMany
    {
        return $this->hasMany(AdminSystemConfig::class , 'group_id');
    }
}
